package com.xiaoq.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xiaoq.system.entity.FeedbackEntity;
import com.xiaoq.system.repository.IFeedbackRepository;
import com.xiaoq.system.service.IFeedbackService;

@Component
public class FeedbackServiceImpl implements IFeedbackService {
	
	@Autowired
	private IFeedbackRepository feedBackRep;

	@Override
	public boolean addFeedback(FeedbackEntity feedback) {
		
		return feedBackRep.addFeedback(feedback);
	}

}
